package linyunshi.rbac.domain.dto;

/**
 * 数据传输对象类型-用户
 *
 * @author linyunshi
 * @since 2025/6/7 15:07
 */
public class UserDto extends BaseDto {

    /**
     * 用户名。用来登录
     */
    public String username;

    /**
     * 真实姓名
     */
    public String name;

    /**
     * 电话
     */
    public String mobile;

    /**
     * 邮箱
     */
    public String email;

    /**
     * 用户所属部门
     */
    public int deptId;

    /**
     * 用户所属角色
     */
    public int roleId;


    public UserDto() {
    }

    public UserDto( String username,String name,String mobile,String email, int deptId, int roleId) {
        this.deptId = deptId;
        this.email = email;
        this.mobile = mobile;
        this.name = name;
        this.roleId = roleId;
        this.username = username;
    }
}
